package priv.mill.xml;

import java.text.DateFormat;
import java.util.Date;

import org.springframework.beans.factory.annotation.Autowired;

public class Cat {
	
	 private String type;
	 
	 private Double price;
	 private String name;
	 private Date date;
	 @Autowired
	 private DateFormat dFormat;
	public Cat() {
		
	}

	public Cat(String type, Double price) {
		this.type = type;
		this.price = price;
	}

	public Cat(Double price, String name) {
		this.type = name;
		this.price = price;
		
	}

	@Override
	public String toString() {
		return "Cat [type=" + type + ", price=" + price + ", name=" + name + "]";
	}

	 
}
